﻿namespace Songhay.Models
{
    /// <summary>
    /// Defines a message sent from a Client.
    /// </summary>
    /// <typeparam name="TClient">The Client type.</typeparam>
    public class ClientMessage<TClient>
    {
        /// <summary>
        /// Gets or sets the Client View.
        /// </summary>
        /// <value>The Client View.</value>
        public TClient ClientView { get; set; }

        /// <summary>
        /// Gets or sets <see cref="ClientEvent"/>.
        /// </summary>
        /// <value><see cref="ClientEvent"/></value>
        public ClientEvent ForClientEvent { get; set; }
    }
}
